package com.tjbank.cssys.web.service;

import com.github.pagehelper.PageInfo;
import com.tjbank.cssys.domain.CreditInstallment;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface CreditInstallmentService {


    /* 详情 */
    CreditInstallment selectByPrimaryKey(Long id);


    PageInfo<CreditInstallment> selectList(CreditInstallment creditInstallment, Integer page, Integer pageSize);

    /*修改  审批状态  0未审批1审批*/
    int UpdateAudit(CreditInstallment creditInstallment);

    int deleteByPrimaryKey(@Param("id") Long id);


    /*修改  删除状态  card_statue   卡的状态 ，0无效 ,1有效  */
    int UpdatecardStatue(CreditInstallment creditInstallment);


    int insert(CreditInstallment creditInstallment);
}
